home *** CD-ROM | disk | FTP | other *** search
/ CU Amiga Super CD-ROM 24 / CU Amiga Magazine's Super CD-ROM 24 (1998)(EMAP Images)(GB)(Track 1 of 2)[!][issue 1998-07].iso / CUCD / Programming / Asap / ASAP / Image.h < prev    next >
Encoding:
C/C++ Source or Header  |  2006-09-09  |  1.1 KB  |  30 lines

  1. /*****************************************************************************
  2.  *                                                                           *
  3.  * ASAP - Amiga Software Authoring Platform                                  *
  4.  *                                                                           *
  5.  * Written by Laurie Perrin                                                  *
  6.  *                                                                           *
  7.  * AImage wrapper class                                                      *
  8.  *                                                                           *
  9.  *****************************************************************************/
  10.  
  11. #ifndef ASAP_Image_H
  12. #define ASAP_Image_H
  13.  
  14. extern "C"
  15. {
  16.  #include <Proto/Intuition.H>
  17. }
  18.  
  19. class AImage : public Image
  20. {
  21.  public:
  22.  inline BOOL PointInImage(unsigned long point);
  23. };
  24. //-----------------------------------------------------------------------------
  25. BOOL AImage::PointInImage (unsigned long point)
  26. {
  27.  return ::PointInImage(point, this);
  28. }
  29.  
  30. #endif